package com.liuch.demo.mappper;

import com.liuch.mybatis.annotations.Param;
import com.liuch.mybatis.annotations.Select;
import com.liuch.demo.entity.User;

import java.util.List;

public interface UserMapper {

    @Select("select * from user where id = #{id} and name = #{name}")
    List<User> selectList(@Param("id") Integer id, @Param("name") String name);
}
